package chixing.day11.work.w8;

public class PayDemo {
    public static void main(String[] args) {
        PaymentService paymentService = new PaymentService();
        IPayment weChatPay = new WeChatPay();
        paymentService.doPayment(weChatPay, 100);
        paymentService.doPayment(new BankPay(), 100);
        paymentService.doPayment(new AliPay(), 100);
    }
}
